package com.wans.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@SuppressWarnings("all")
@ConfigurationProperties(prefix = "order") //  指定前缀 批量注入/绑定
public class OrderProperties {
    private String timeout;
    private String autoConfirm;
    private String namespace;
}
